package com.ztesoft.web.taskgenerator.db.po;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import org.apache.commons.lang.StringUtils;
import org.springframework.beans.BeanUtils;

import com.ztesoft.framework.dto.AbstractDto;

public class DmTaskStagePO extends AbstractDto{
	private Integer  dmInfoId;
	private Integer  dmTaskId;
	private Integer  dmStrategyId;
	private Integer  dataType;
	private Integer sourceDataId;
	private String  checkObjName;
	private Integer  stage;
	private String  state;
	private Date stateDate;
	private Date  createDate;
	private Date  taskStartTime;
	private Date  taskEndTime;
	private String  errorDesc;
	private Integer  checkCount;
	private Integer  totalRecordCount;
	private BigDecimal  checkDataSize;
	private BigDecimal  totalDataSize;
	private Integer  audiStaffId;
	private Integer  isCheck;
	private Date  checkDate;
	private Integer  nodeId;
	
	//体检结果状态
	private String checkState;
	private Integer operType;
	private String needCheck;
	private String result;
	private Integer taskCheck;
	
	private Integer dmPlanId;
	private String planName;
	private String taskName;
	private String taskDetail;
	private String taskState;
	private String planState;
	private Date scheduleDate;
	private Date effDate;
	private Date expDate;
	private Date sysDate;
	

	private Integer tCount;
	private Integer rCount;
	private Integer aCount;
	private Integer fCount;
	private Integer xCount;
	private Integer total;
	
	
	private Integer disTCount;
	private Integer checkupCount;
	private Integer backupCount;
	private Integer cleanupCount;
	
	private List<Integer> goingDetail;
	private List<String> monitorDetail;
	private Integer strategyCount;
	
	private String scheduleDateStart;
	private String scheduleDateEnd; 
	
	private String execType;
	
	private String planExecType;
	
	private String priority;
	
	public String getPriority() {
		return priority;
	}
	public void setPriority(String priority) {
		this.priority = priority;
	}
	public String getPlanExecType() {
		return planExecType;
	}
	public void setPlanExecType(String planExecType) {
		this.planExecType = planExecType;
	}
	public String getCheckState() {
		return checkState;
	}
	public void setCheckState(String checkState) {
		this.checkState = checkState;
	}
	public void setDmInfoId(Integer dmInfoId) {
        this.dmInfoId = dmInfoId;
    }
    public Integer getDmInfoId() {
        return dmInfoId;
    }
    public void setDmTaskId(Integer dmTaskId) {
        this.dmTaskId = dmTaskId;
    }
    public Integer getDmTaskId() {
        return dmTaskId;
    }
    public void setDmStrategyId(Integer dmStrategyId) {
        this.dmStrategyId = dmStrategyId;
    }
    public Integer getDmStrategyId() {
        return dmStrategyId;
    }
    public void setDataType(Integer dataType) {
        this.dataType = dataType;
    }
    public Integer getDataType() {
        return dataType;
    }
    public void setCheckObjName(String checkObjName) {
        this.checkObjName = checkObjName;
    }

    /**
     * 具体分表名
     * @return
     */
    public String getCheckObjName() {
        return StringUtils.isBlank(checkObjName) ? checkObjName : checkObjName.trim();
    }
    public void setStage(Integer stage) {
        this.stage = stage;
    }
    public Integer getStage() {
        return stage;
    }
    public void setState(String state) {
        this.state = state;
    }

    public String getState() {
        return StringUtils.isBlank(state) ? state : state.trim();
    }
    public String getErrorDesc() {
        return StringUtils.isBlank(errorDesc) ? errorDesc : errorDesc.trim();
    }
    public void setCheckCount(Integer checkCount) {
        this.checkCount = checkCount;
    }
    public Integer getCheckCount() {
    	return checkCount;
    }
    public void setTotalRecordCount(Integer totalRecordCount) {
        this.totalRecordCount = totalRecordCount;
    }
    public Integer getTotalRecordCount() {
    	return totalRecordCount;
    }
    public BigDecimal getCheckDataSize() {
    	return checkDataSize;
	}
	public void setCheckDataSize(BigDecimal checkDataSize) {
		this.checkDataSize = checkDataSize;
	}
	public BigDecimal getTotalDataSize() {
		return totalDataSize;
	}
	public void setTotalDataSize(BigDecimal totalDataSize) {
		this.totalDataSize = totalDataSize;
	}
	public void setAudiStaffId(Integer audiStaffId) {
        this.audiStaffId = audiStaffId;
    }
    public Integer getAudiStaffId() {
        return audiStaffId;
    }
    public void setIsCheck(Integer isCheck) {
        this.isCheck = isCheck;
    }
    public Integer getIsCheck() {
        return isCheck;
    }
   
    public Date getCheckDate() {
		return checkDate;
	}
	public void setCheckDate(Date checkDate) {
		this.checkDate = checkDate;
	}
	public void setNodeId(Integer nodeId) {
        this.nodeId = nodeId;
    }
    public Integer getNodeId() {
        return nodeId;
    }

    public Date getStateDate() {
        return stateDate;
    }

    public void setStateDate(Date stateDate) {
        this.stateDate = stateDate;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getTaskStartTime() {
        return taskStartTime;
    }

    public void setTaskStartTime(Date taskStartTime) {
        this.taskStartTime = taskStartTime;
    }

    public Date getTaskEndTime() {
        return taskEndTime;
    }

    public void setTaskEndTime(Date taskEndTime) {
        this.taskEndTime = taskEndTime;
    }

    public void setErrorDesc(String errorDesc) {
        this.errorDesc = errorDesc;
    }
    
	public Integer getSourceDataId() {
		return sourceDataId;
	}
	public void setSourceDataId(Integer sourceDataId) {
		this.sourceDataId = sourceDataId;
	}
	
	public Integer getOperType() {
		return operType;
	}
	public void setOperType(Integer operType) {
		this.operType = operType;
	}
	
	public String getNeedCheck() {
		return needCheck;
	}
	public void setNeedCheck(String needCheck) {
		this.needCheck = needCheck;
	}
	public String getResult() {
		return result;
	}
	public void setResult(String result) {
		this.result = result;
	}
	public Integer getDmPlanId() {
		return dmPlanId;
	}
	public void setDmPlanId(Integer dmPlanId) {
		this.dmPlanId = dmPlanId;
	}
	public String getPlanName() {
		return planName;
	}
	public void setPlanName(String planName) {
		this.planName = planName;
	}
	public String getTaskName() {
		return taskName;
	}
	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}
	public String getTaskDetail() {
		return taskDetail;
	}
	public void setTaskDetail(String taskDetail) {
		this.taskDetail = taskDetail;
	}
	public String getTaskState() {
		return taskState;
	}
	public void setTaskState(String taskState) {
		this.taskState = taskState;
	}
	public String getPlanState() {
		return planState;
	}
	public void setPlanState(String planState) {
		this.planState = planState;
	}
	public Date getScheduleDate() {
		return scheduleDate;
	}
	public void setScheduleDate(Date scheduleDate) {
		this.scheduleDate = scheduleDate;
	}
	public Integer gettCount() {
		return tCount;
	}
	public void settCount(Integer tCount) {
		this.tCount = tCount;
	}
	public Integer getrCount() {
		return rCount;
	}
	public void setrCount(Integer rCount) {
		this.rCount = rCount;
	}
	public Integer getaCount() {
		return aCount;
	}
	public void setaCount(Integer aCount) {
		this.aCount = aCount;
	}
	public Integer getfCount() {
		return fCount;
	}
	public void setfCount(Integer fCount) {
		this.fCount = fCount;
	}
	public Integer getxCount() {
		return xCount;
	}
	public void setxCount(Integer xCount) {
		this.xCount = xCount;
	}
	public Integer getTotal() {
		return total;
	}
	public void setTotal(Integer total) {
		this.total = total;
	}
	public List<Integer> getGoingDetail() {
		return goingDetail;
	}
	public void setGoingDetail(List<Integer> goingDetail) {
		this.goingDetail = goingDetail;
	}
	public List<String> getMonitorDetail() {
		return monitorDetail;
	}
	public void setMonitorDetail(List<String> monitorDetail) {
		this.monitorDetail = monitorDetail;
	}
	public Integer getDisTCount() {
		return disTCount;
	}
	public void setDisTCount(Integer disTCount) {
		this.disTCount = disTCount;
	}
	public Integer getCheckupCount() {
		return checkupCount;
	}
	public void setCheckupCount(Integer checkupCount) {
		this.checkupCount = checkupCount;
	}
	public Integer getBackupCount() {
		return backupCount;
	}
	public void setBackupCount(Integer backupCount) {
		this.backupCount = backupCount;
	}
	public Integer getCleanupCount() {
		return cleanupCount;
	}
	public void setCleanupCount(Integer cleanupCount) {
		this.cleanupCount = cleanupCount;
	}
	public Integer getTaskCheck() {
		return taskCheck;
	}
	public void setTaskCheck(Integer taskCheck) {
		this.taskCheck = taskCheck;
	}
	
	public String getScheduleDateStart() {
		return scheduleDateStart;
	}
	public void setScheduleDateStart(String scheduleDateStart) {
		this.scheduleDateStart = scheduleDateStart;
	}
	public String getScheduleDateEnd() {
		return scheduleDateEnd;
	}
	public void setScheduleDateEnd(String scheduleDateEnd) {
		this.scheduleDateEnd = scheduleDateEnd;
	}
	
	public String getExecType() {
		return execType;
	}
	public void setExecType(String execType) {
		this.execType = execType;
	}
	
	public Integer getStrategyCount() {
		return strategyCount;
	}
	public void setStrategyCount(Integer strategyCount) {
		this.strategyCount = strategyCount;
	}
	public void copyValueTo(DmTaskStagePO bo){
		BeanUtils.copyProperties(this,bo);
	}
	public DmTaskStagePO cloneBO(){
		DmTaskStagePO bo = new DmTaskStagePO();
		this.copyValueTo(bo);
		return bo;
	}
	public Date getEffDate() {
		return effDate;
	}
	public void setEffDate(Date effDate) {
		this.effDate = effDate;
	}
	public Date getExpDate() {
		return expDate;
	}
	public void setExpDate(Date expDate) {
		this.expDate = expDate;
	}
	public Date getSysDate() {
		return sysDate;
	}
	public void setSysDate(Date sysDate) {
		this.sysDate = sysDate;
	}
}